﻿using System;

namespace Core.Log.Model
{
    public class AuditLog 
    {
        /// <summary>
        /// 主键id
        /// </summary>
        public int Id { set; get; }

        /// <summary>
        /// 模块id
        /// </summary>
        public int ModelId { get; set; }

        /// <summary>
        /// 用户名字
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// 模块名字
        /// </summary>
        public string ModuleName { get; set; }

        /// <summary>
        /// 表名
        /// </summary>
        public string TableName { get; set; }

        /// <summary>
        /// 事件类型
        /// </summary>
        public string EventType { get; set; }

        /// <summary>
        /// 新值
        /// </summary>
        public string NewValues { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
    }
}
